package com.maker.service;


import com.maker.entity.OrderInfo;
import com.maker.entity.RefundInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface RefundInfoRepository extends JpaRepository<RefundInfo,Long> {

    @Query(value = "from RefundInfo where orderNo = ?1 " )
    public RefundInfo getRefundInfoByOrderNo(String orderNo);
}
